/*
 * 易族智汇（北京）科技有限公司 版权所有。
 * 未经许可，您不得使用此文件。
 * 官方地址：www.javamall.com.cn
 */
package com.enation.app.javashop.core.client.feignimpl.distribution;

import com.enation.app.javashop.client.distribution.WithdrawCountClient;
import com.enation.app.javashop.core.client.fallback.distribution.WithdrawCountClientFallbackFactory;
import com.enation.app.javashop.core.handler.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 分销结算
 *
 * @author liushuai(liushuai711@gmail.com)
 * @version v1.0
 * @Description:
 * @since v7.0
 * 2018/8/14 下午1:02
 */
@FeignClient(name = "distribution-service", fallbackFactory = WithdrawCountClientFallbackFactory.class,configuration = {FeignConfiguration.class})
public interface WithdrawCountClientFeignImpl extends WithdrawCountClient {


    /**
     * 每日进行结算
     */
    @Override
    @RequestMapping(value = "/client/distribution/withdraw", method = RequestMethod.POST)
    void everyDay();
}
